package com.mlegrand.firestarter.events
{
	import com.adobe.cairngorm.control.CairngormEvent;

	public class SampleLoginEvent extends CairngormEvent
	{
		
		public static const SAMPLE_LOGIN_EVENT:String = "sampleLoginEvent";
		
		public var firstName:String;
		public var password:String;
		public var failureCallBack:Function;
		public var successCallBack:Function
		
		public function SampleLoginEvent(type:String, firstName:String, password:String, failureCallBack:Function, successCallBack:Function, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			this.firstName = firstName;
			this.password = password;
			this.failureCallBack = failureCallBack;
			this.successCallBack = successCallBack;
			super(type, bubbles, cancelable);
		}
		
	}
}